package com.ctrip.payment.test.ngtest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.*;

public class NGTestParallel {

    private static final Logger logger = LoggerFactory.getLogger(NGTestParallel.class);

    @BeforeSuite
    public void beforeSuite() {
        logger.info("beforeSuite");
    }
    @AfterSuite
    public void afterSuite() {
        logger.info("afterSuite");
    }
    @BeforeClass
    public void beforeClass() {
        logger.info("BeforeClass");
    }
    @AfterClass
    public void AfterClass() {
        logger.info("AfterClass");
    }
    @BeforeTest
    public void BeforeTest() {
        logger.info("BeforeTest");
    }
    @AfterTest
    public void AfterTest() {
        logger.info("AfterTest");
    }
    @BeforeMethod
    public void BeforeMethod() {
        logger.info("BeforeMethod");
    }
    @AfterMethod
    public void AfterMethod() {
        logger.info("AfterMethod");
    }

    @Test
    public void ngTest1() throws Exception {
        logger.info("ngTest1");
    }
    @Test
    public void ngTest2() throws Exception {
        logger.info("ngTest2");
    }
}
